package edu.gdkm.pojo;

import java.util.Date;

public class Student {
    private Integer id;
    private String name;
    private boolean gender;
    private Date birthday;
    private String mobile;

    public Integer getId() {
        return id;
    }
    @Override
    public String toString() {
        return "Student [" +
                "id=" + id + ", " +
                "name=" + name + ", " +
                "gender=" + gender + "," +
                " birthday=" + birthday + ", " +
                "mobile=" + mobile + "]";
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isGender() {
        return gender;
    }

    public void setGender(boolean gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public Student(Integer id, String name, boolean gender, Date birthday, String mobile) {
         this.id = id;
         this.name = name;
         this.gender = gender;
         this.birthday = birthday;
         this.mobile = mobile;

    }
}

